Repository navigation
test: 100% coverage - #190
Merged
Merged
Conversation
The deserializer sliced the vendor field from the wrong offset, so vendorFieldHex was always empty and the id of transactions with a vendor field was wrong. Serializing a vendorFieldHex crashed, and the vendor field length was written in characters rather than bytes.
…igned deserialization str() of an HTLC_LOCK_EXPIRATION_TYPE raised a TypeError, verify_schnorr_secondsig returned None when valid, and the signature check in parse_signatures had an operator precedence bug that set an empty signature on unsigned transactions.
The sign methods on the Vote and DelegateRegistration builders called a parent sign method that no longer exists, so they always raised. The Transaction _handle_transaction_type and _handle_signature methods were never called. The serializer and deserializer lookup loops had branches that could never run.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #190 +/- ##
=============================================
+ Coverage 89.21% 100.00% +10.78%
=============================================
Files 53 53
Lines 983 938 -45
Branches 89 76 -13
=============================================
+ Hits 877 938 +61
+ Misses 68 0 -68
+ Partials 38 0 -38 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
alexbarnsley
marked this pull request as ready for review
December 2, 2026 15:45
ItsANameToo
approved these changes
Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://app.clickup.com/t/2570579/1dfhrmr9vfg
requires #188
Checklist